@extends('admin.base.index')

@section('content')
    <div class="block-area" id="text-input">
    <h3 class="block-title">修改</h3>
    <!--<form action="{{ url('admin/list').$user->id }}" method='post'>-->
      <form action='/admin/Ulist/{{ $user->id }}' method='post'>
        <input type='hidden' name='_token' value='{{ csrf_token() }}'>
        <input type='hidden' name='_method' value='PUT'>
        <div class="row">
            <div class="col-lg-4">
                <input name='name' type="text" class="form-control m-b-10" placeholder="姓名" value='{{ $user->name }}'>
            </div>
            <div class="col-lg-4">
                <input name='level' type="text" class="form-control m-b-10" placeholder="权限" value='{{ $user->level }}'>
            </div>
            <div class='row'>
                <div class="col-lg-12">
                    <input type='submit' class='btn' value='修改'>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </form>
    </div>
@stop
